<template>
  <view :style="themeColor">
    <view class="page">
      <fu-custom bgColor="bg-white" :isBack="true" :isBottom="true">
        <block slot="content">帮助与反馈</block>
      </fu-custom>
      <!---flex布局flex布局开始-->
      <template v-for='(item,flex1) in dataMessage'>
        <view class="flex flex-direction flex-wrap align-stretch helpFeedback_flex_1" :key='flex1'>
          <view class='flex flex-direction align-stretch helpFeedback_fd1_0'>
            <template v-for='(child,key1) in item.article_list'>
              <view class='flex flex-wrap align-center justify-between helpFeedback_fd1_0_c0' @tap.stop="handleJumpDiy"
                data-type="navigateTo" :data-url="`/pages/xtsz/helpDetails/helpDetails?id=${child.aid}`" :key='key1'>
                <text class='helpFeedback_fd1_0_c0_c0'>{{child.title}}</text>
                <text class='fu-iconfont2  helpFeedback_fd1_0_c0_c1'>&#xE7F2;</text>
              </view>
            </template>

          </view>
          <button class='helpFeedback_fd1_1' @tap.stop="handleJumpDiy" data-type="navigateTo"
            :data-url="`/pages/xtsz/feedBack/feedBack`">意见反馈</button>
        </view>
      </template>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'
  export default {
    components: {},


    data() {
      return {
        "dataMessage": []
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      this.getListFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //文章管理-获取文章列表
      async getListFunc() {
        //请求方法
        //数据验证

        let datadataMessage = await this.$api.get(global.apiUrls.post6421a00e4fa4e, {
          category_id: '2'
        });

        if (datadataMessage.data.code != 1) {
          this.$message.info(datadataMessage.data.msg);
          return
        }
        let infodataMessage = datadataMessage.data;
        this.dataMessage = infodataMessage.data

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: rgba(248, 248, 248, 1);
    background-size: 100% auto;
  }

  .helpFeedback_flex_0 {
    border-bottom: 1px solid rgba(238, 238, 238, 1);
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .helpFeedback_fd0_0_c2 {
    padding: 0rpx 0rpx 0rpx 0rpx;
    width: 100rpx;
  }

  .helpFeedback_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: var(--benbenFontColor0);
  }

  .helpFeedback_fd0_0_c0_c0 {
    font-size: 36rpx;
    font-weight: 400;
    color: #333;
  }

  .helpFeedback_fd0_0_c0 {
    width: 100rpx;
  }

  .helpFeedback_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
    line-height: 88rpx;
  }

  .helpFeedback_flex_1 {
    font-size: 32rpx;
  }

  .helpFeedback_fd1_1 {
    border: 2px solid var(--benbenbdColor0);
    background: var(--benbenbgColor1);
    border-radius: 44rpx 44rpx 44rpx 44rpx;
    font-size: 32rpx;
    color: var(--benbenFontColor5);
    width: 638rpx;
    height: 88rpx;
    line-height: 88rpx;
    position: fixed;
    left: 53rpx;
    bottom: calc(40rpx + var(--window-bottom));
  }

  .helpFeedback_fd1_0_c0_c1 {
    font-size: 26rpx;
    color: rgba(153, 153, 153, 1);
  }

  .helpFeedback_fd1_0_c0_c0 {
    font-size: 36rpx;
    color: var(--benbenFontColor0);
    font-weight: 400;
    line-height: 50rpx;
  }

  .helpFeedback_fd1_0_c0 {
    border-bottom: 1px solid #eee;
    padding: 32rpx 0rpx 32rpx 0rpx;
    margin: 0rpx 32rpx 0rpx 32rpx;
  }

  .helpFeedback_fd1_0 {
    background: var(--benbenbgColor1);
    background-size: 100% auto !important;
    margin: 0rpx 0rpx 180rpx 0rpx;
  }
</style>